package org.llc.gof.behavior.iterator.basic;

import java.util.Vector;

public class ConcreteAggregate implements Aggregate {
	
    private Vector<Object> vector = new Vector<Object>();
	
	public void add(Object object) {
		this.vector.add(object);
	}

	public Iterator iterator() {
		return new ConcreteIterator(this.vector);
	}

	public void remove(Object object) {
		this.remove(object);
	}
}
